package cn.qayy.dto;

import java.io.Serializable;
/***
 * 前端消息
 * @author Administrator
 *
 */
public class Msg implements Serializable{
	private static final long serialVersionUID = 1L;
	private Integer code=0;
	private Object msg="";
	public Msg() {
		super();
	}
	public Msg(Integer code, Object msg) {
		super();
		this.code = code;
		this.msg = msg;
	}
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public Object getMsg() {
		return msg;
	}
	public void setMsg(Object msg) {
		this.msg = msg;
	}
	
	@Override
	public String toString() {
		return "Msg [code=" + code + ", msg=" + msg + "]";
	}
	
	
}
